import tableRouter from './table'
import doc from './doc'
import icons from './icons'
import permission from './permission'
import excel from './excel'
import zip from './zip'
import { pdf, pdfDownload } from './pdf'
import clipboard from './clipboard'
import sticky from './sticky'

import Layout from '@/layout'

export default [
  {
    path: '/example',
    component: Layout,
    redirect: 'noRedirect',
    name: 'Example',
    meta: { title: '组件功能', icon: 'el-icon-cpu', roles: ['develop'] },
    children: [
      permission,
      tableRouter,
      excel,
      zip,
      pdf,
      icons,
      clipboard,
      sticky,
      doc
    ]
  },
  pdfDownload
]
